﻿using UnityEngine;
using System.Collections;

public class Door : MonoBehaviour {

	public bool _isOpen;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public void Open() {
		if(!_isOpen) {
			transform.position = new Vector2 (transform.position.x, transform.position.y + 25);
			_isOpen = true;
		}
	}
}
